package com.retoc.oawx.service;

import com.retoc.oawx.domain.Checkin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author retoc
 * @description 针对表【tb_checkin(签到表)】的数据库操作Service
 * @createDate 2022-05-01 20:00:13
 */
public interface CheckinService extends IService<Checkin> {
    public String validCanCheckin(int userId, String date);

    public void checkin(HashMap param);

    public void leaveCheckin(HashMap param);

    public void createFaceModel(int userId, String path);

    public HashMap searchTodayCheckin(int userId);

    public long searchCheckinDays(int userId);

    public ArrayList<HashMap> searchWeekCheckin(HashMap param);

    public ArrayList<HashMap> searchMonthCheckin(HashMap param);

}
